from django.contrib import admin
from .models import *

# Register your models here.class UserAdmin(admin.ModelAdmin):
class CustomerAdmin(admin.ModelAdmin):
    list_display = ['token', 'name','title','Duty_time', 'number','author','Create_time','register_time','last_run_time','register_count','run_count','cancel_time']

class UpdateAdmin(admin.ModelAdmin):
    list_display = ['version', 'chanel_name','type', 'force','detial']

class OrderListAdmin(admin.ModelAdmin):
    list_display = ['account_from', 'account_to', 'Cards_type','Create_Time','Cards_Count','Money']

admin.site.register(Customer,CustomerAdmin)
admin.site.register(Update,UpdateAdmin)
admin.site.register(OrderList,OrderListAdmin)